<?php

	class Config {
		
		public $ADMIN_PATH = 'admin';
		
		public $ROOT_PATH;

		public $COOKIE_PATH;
		
		public $CONTROLLERS_PATH;

		public $PUBLIC_URL;
		
		public $TEMPLATES_DIR;
		
		public $COMPILE_DIR;
				
		public function __construct()
		{
			$this->ROOT_PATH = str_replace( '\\', '/', dirname( dirname( __FILE__ ) ) ) . '/';
			$this->COOKIE_PATH = str_replace(rtrim(str_replace('\\', '/', $_SERVER['DOCUMENT_ROOT']), '/'), '', $this->ROOT_PATH );
			$this->PUBLIC_URL = $this->COOKIE_PATH . 'public/';
			$this->CONTROLLERS_PATH = $this->ROOT_PATH . 'controllers/';
			$this->TEMPLATES_DIR = $this->ROOT_PATH . 'templates/';
			$this->COMPILE_DIR = $this->ROOT_PATH . 'templates_c/';
		}
		
	}

?>